/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package math;

/**
 *
 * @author Jhonatan
 */
//devuelme el numero mayor de los datos introducidos
public class prog7 {
 public static void main(String[] args) {

    double x=4.6,y=2.5;

        System.out.println("el mayor de los numeros es:\n"+Math.max(x, y));
    }
}
